single row data from table in laravel

41

collect(\DB::select("SELECT * FROM table_name WHERE id=$id"))->first();

Comments

Submit
0 Comments